package com.bobo.serviceship;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;

@SpringBootApplication
@EnableDistributedTransaction
public class ServiceShipApplication {

    public static void main(String[] args) {
        SpringApplication.run(ServiceShipApplication.class, args);
    }

    @GetMapping("/test")
    public String test(){
        return "hello";
    }

}
